package com.ngc.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ngc.mall.domain.IntegralSpuDomain;
import com.ngc.mall.vo.PagingVO;

import java.util.List;

public interface IIntegralSpuService extends IService<IntegralSpuDomain> {

    Long createIntegralSpu(IntegralSpuDomain integralSpuDomain);

    List<IntegralSpuDomain> selectAll();

    Boolean updateStatusById(Long id,boolean status);

    Boolean updateById(Long id,IntegralSpuDomain integralSpuDomain);

    PagingVO<IntegralSpuDomain> selectAllShow(int start,int count);

    Boolean exchange(Long id,Long uid);
}
